toggle menu
JxBrowser
8.1.0
jvm
switch theme
search in API
JxBrowser
/
com.teamdev.jxbrowser.print
/
[jvm]PageMargins
/
CustomMargins
Custom
Margins
interface
CustomMargins
:
PageMargins
Page margins in points. One point equals 1/72 of an inch.
Since
7.13
Members
Functions
bottom
Link copied to clipboard
open
fun
bottom
(
)
:
Int
Returns the margin on the bottom side of the sheet.
default
Margins
Link copied to clipboard
open
fun
defaultMargins
(
)
:
PageMargins
Creates default margins for the web page.
left
Link copied to clipboard
open
fun
left
(
)
:
Int
Returns the margin on the left side of the sheet.
none
Link copied to clipboard
open
fun
none
(
)
:
PageMargins
Creates empty margins for the web page.
of
Link copied to clipboard
open
fun
of
(
left
:
Int
,
right
:
Int
,
top
:
Int
,
bottom
:
Int
)
:
PageMargins.CustomMargins
Creates custom margins for the web page in points.
right
Link copied to clipboard
open
fun
right
(
)
:
Int
Returns the margin on the right side of the sheet.
top
Link copied to clipboard
open
fun
top
(
)
:
Int
Returns the margin on the top side of the sheet.